package com.examination.client.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * <p>
 * 快递出库图片表
 * </p>
 *
 * @author tm
 * @since 2022-04-27
 */
@Data
public class CourierDeliveryImageInfo extends Model<CourierDeliveryImageInfo> {

    private static final long serialVersionUID=1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 快递单号
     */
    private String courierCode;

    /**
     * 快递状态: 1 入库  2 出库
     */
    private Integer courierStatus;

    /**
     * 快递信息图片url
     */
    private String imageUrl;

    /**
     * 创建时间
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    /**
     * 修改时间
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    /**
     * 删除状态：0未删除  1已删除
     */
    @TableLogic
    private Integer deleteStatus;

}
